import type {RouteRecordRaw} from "vue-router";

const routes: RouteRecordRaw[] = [
    {
        path: 'system',
        name: '系统配置',
        children: [
            {
                path: 'role',
                name: '角色配置',
                component: () => import("@/views/system/role.vue")
            },
            {
                path: 'user',
                name: '用户配置',
                component: () => import("@/views/system/user.vue")
            },
            {
                path: 'dict',
                name: '字典配置',
                component: () => import("@/views/system/dict.vue")
            }
        ]
    }
];

export default routes;
